package com.wulwu.permission.mapper;

import com.wulwu.permission.entity.PermissionMenuInfo;
import com.wulwu.permission.entity.PermissionMenuInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PermissionMenuInfoMapper {
    int countByExample(PermissionMenuInfoExample example);

    int deleteByExample(PermissionMenuInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PermissionMenuInfo record);

    int insertSelective(PermissionMenuInfo record);

    List<PermissionMenuInfo> selectByExample(PermissionMenuInfoExample example);

    PermissionMenuInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PermissionMenuInfo record, @Param("example") PermissionMenuInfoExample example);

    int updateByExample(@Param("record") PermissionMenuInfo record, @Param("example") PermissionMenuInfoExample example);

    int updateByPrimaryKeySelective(PermissionMenuInfo record);

    int updateByPrimaryKey(PermissionMenuInfo record);

    List<PermissionMenuInfo> queryPermissionByUsername(@Param("username") String username);
}